package com.qf2210.group.three.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf2210.group.three.pojo.Brand;
import com.qf2210.group.three.server.service.BrandService;
import com.qf2210.group.three.server.mapper.BrandMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liqing
 * @description 针对表【tb_brand】的数据库操作Service实现
 * @createDate 2022-12-01 18:23:17
 */
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand>
        implements BrandService {
    @Override
    public List<Brand> findBrands(Integer bId) {
        List<Brand> brands = this.baseMapper.getall(bId);
        return brands;
    }
}




